package com.woniuxy.user.service;

import com.woniuxy.core.util.PageInfo;
import com.woniuxy.user.dao.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.user.model.param.IdCard;
import com.woniuxy.user.model.param.LoadAllUserinfoParam;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 凌玉春
 * @since 2024年01月15日
 */
public interface UserInfoService extends IService<UserInfo> {


    IdCard VerifyIdCard(String name, String idcard ,Integer id,String userInfoName);

    void updateUserInfo(String userinfoname,String userinfotel, Integer id);

//    PageInfo<UserInfo> loadAllUserinfobyId(LoadAllUserinfoByIdParam param);

    PageInfo<UserInfo> loadAllUserinfo(LoadAllUserinfoParam param);

    UserInfo loadAllUserinfobyId(Integer userInfoId);

    UserInfo uploadImage(MultipartFile image, String id) throws IOException;

    UserInfo loadAllUserinfobyName(String userRealName);

    UserInfo loadAllUserinfobyUserPhone(String userphone);

    void updateUserState(Integer id);

    UserInfo loadAllUserinfos(String id);

    Boolean loadAllUserinfoss(String id);
}
